<script setup>
let props = defineProps(['info']);
let result = props.info.toUpperCase();
</script>

<template>
<h2>这是一个子组件</h2>
  <div>{{ info.toUpperCase() }}</div>
  <div>{{ result }}</div>
</template>

<style scoped>

</style>